import { createRouter, createWebHashHistory } from 'vue-router';

const router = createRouter({
    history: createWebHashHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            redirect: '/groupNotice',
        },
        {
            path: '/home',
            name: 'home',
            component: () => import('@/views/home/index.vue'),
        },
        {
            path: '/groupNotice',
            name: 'groupNotice',
            component: () => import('@/views/groupNotice/GroupNoticeH5.vue'),
        },
        {
            path: '/groupNoticeInfo',
            name: 'GroupNoticeInfo',
            component: () => import('@/views/groupNotice/GroupNoticeInfo.vue'),
        },
    ],
});

export default router;
